package cn.com.niit.mapper;

import cn.com.niit.pojo.Merchant;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MerchantMapper {
    void apply(Merchant merchant);
    List<Merchant> showAll(Merchant merchant);
    void pass(String userName);
    void fail(String userName);
    void ban(String userName);
    void unBan(String userName);
    Merchant showOne(String userName);
}
